/**
 * 作者: wgx
 * 日期: 2024-11-13 16:40:13
 * 备注: 用户派对的举办记录
 */
package com.motu.monstercity.server.game.userdata;

import com.motu.vertx.module.utility.toolset.TimeUtils;

public class UserFeastRecord extends UserFeastRecordModel {
    public UserFeastRecord() {
        super();
    }

    public UserFeastRecord(ServerFeast serverFeast) {
        super();
        putUserId(serverFeast.getUserId());
        putFeastId(serverFeast.getId());
        putFeastMainId(serverFeast.getFeastMainId());
        putGuestNum(serverFeast.getGuestNum());
        putScore(serverFeast.getScore());
        putAddTime(serverFeast.getAddTime());
        putFinishTime(TimeUtils.getCurTime());
    }
}
